Random={}
local seed=os.time({year=0,month=0,day=0,sec=0})
local psRa=PseudoRandom(seed)
local count=0
local abs=0

function Random:next(min,max)
	local tmp=psRa:next(min,max)
	count=count+1
	abs=abs+math.abs(tmp)
	if count>20000 then
		psRa=PseudoRandom(seed+abs)
		count=0
		abs=0
	end
	return tmp
end
